projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e0faf6
)
Suppress cursor theme unsupported warning when there's no theme.
author
John Ralls
<jralls@ceridwen.us>
Thu, 10 Oct 2013 22:35:41 +0000
(15:35 -0700)
committer
John Ralls
<jralls@ceridwen.us>
Thu, 10 Oct 2013 22:39:25 +0000
(15:39 -0700)
gtk/gtksettings.c
patch
|
blob
|
history
diff --git
a/gtk/gtksettings.c
b/gtk/gtksettings.c
index a163f17efa4dd4599f3a473a76a63cdbbb07da1f..aabc1bb0125412e64b0d9b95fd260c78f1375875 100644
(file)
--- a/
gtk/gtksettings.c
+++ b/
gtk/gtksettings.c
@@
-2697,7
+2697,8
@@
settings_update_cursor_theme (GtkSettings *settings)
"gtk-cursor-theme-name", &theme,
"gtk-cursor-theme-size", &size,
NULL);
-
+ if (theme == NULL)
+ return;
#ifdef GDK_WINDOWING_X11
if (GDK_IS_X11_DISPLAY (display))
gdk_x11_display_set_cursor_theme (display, theme, size);